#import <Cocoa/Cocoa.h>
#import "TrackInfo.h"
#import "iTunesController.h"
#import "ChartLyricsLyricsProvider.h"

@interface LyricsFetcherAppDelegate : NSObject <NSApplicationDelegate>

@property (assign) IBOutlet NSPanel	   *lyricsWindow;
@property (assign) IBOutlet NSTextView *lyricsText;
@property (assign) IBOutlet NSMenu	   *menu;
@property (assign) IBOutlet NSMenuItem *updateLyricsIfEmptyItem;
@property (assign) IBOutlet NSMenuItem *toggleLyricsWindowItem;

@property (retain) NSStatusItem		   *statusItem;
@property (retain) iTunesController    *controller;
@property (retain) id<LyricsProvider>  provider;

- (IBAction) displayCurrentTrackInfo:(id)sender;
- (IBAction) updateCurrentTrackLyrics:(id)sender;
- (IBAction) toggleLyricsWindow:(NSMenuItem *)item;
- (IBAction) toggleUpdateLyricsIfEmptyOption:(NSMenuItem *)item;
- (IBAction) lyricsWindowClosing:(id)sender;

@end
